﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="CreateQuiz.aspx.vb" Inherits="CreateQuiz" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Create A Quiz</title>
    <style type="text/css">
        .auto-style1 {
            height: 48px;
        }
        .auto-style2 {
            height: 41px;
        }
        .auto-style3 {
            height: 81px;
        }
        .auto-style4 {
            height: 151px;
        }
        .auto-style5 {
            height: 73px;
        }
        .auto-style6 {
            height: 257px;
        }
    </style>
</head>
<body style="height: 664px">
    <form id="form1" runat="server">
    <div>
    
    </div>
        <table style="width: 100%; height: 480px;" id="Table1" title="Table1">
            <caption>
            </caption>
            <tr>
                <td class="auto-style1" id="Table1" title="Table1">
                    <asp:ImageButton ID="ImageButton1" runat="server" Height="163px" ImageUrl="~/pics/quizzard.png" PostBackUrl="~/UserPage.aspx" style="text-align: left" Width="215px" />
                    &nbsp;<br />
                </td>
            </tr>
            <tr>
                <td class="auto-style1" id="Table1" title="Table1">
                    <asp:TextBox ID="quizTitleTextBox" runat="server" Width="30%"></asp:TextBox>
&nbsp;&nbsp;
                    <asp:Label ID="quiztitleLabel" runat="server" Text="Please Enter Your Quiz Title"></asp:Label>
                    <br />
                    <asp:Button ID="titleButton" runat="server" Text="Submit Title" />
                </td>
            </tr>
            <tr>
                <td class="auto-style2" id="Table1" title="Table1">&nbsp;<asp:Label ID="quizIDLabel" runat="server"></asp:Label>
&nbsp;&nbsp;
                    <asp:Label ID="Label4" runat="server" Text="Here Is Your Auto Generated Quiz ID"></asp:Label>
                    <br />
                    <br />
                    <asp:Label ID="userNameLabel" runat="server"></asp:Label>
                    <asp:Image ID="Image1" runat="server" Height="20px" ImageUrl="~/wizardhat.jpg" Width="20px" />
&nbsp;&nbsp;&nbsp;
                    <asp:Label ID="Label2" runat="server" Text="UserName"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="auto-style3" id="Table1" title="Table1">
                    <asp:DropDownList ID="mainDropDownList" runat="server" AutoPostBack="True" Width="20%">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="auto-style4" id="Table1" title="Table1">
                    <asp:DropDownList ID="subDropDownList" runat="server" AutoPostBack="True" Visible="False" Width="20%">
                    </asp:DropDownList>
                    <br />
                    <br />
                    <asp:Label ID="subLabel" runat="server" Text="Please Add/Modify Your Question" Visible="False"></asp:Label>
                    <br />
                    <br />
                    <asp:TextBox ID="newQTextBox" runat="server" Visible="False" Width="90%"></asp:TextBox>
                    <br />
                    <br />
                    <asp:Button ID="addButton" runat="server" Text="Add Question" Visible="False" />
&nbsp;
                    <asp:Button ID="updateButton" runat="server" Text="Update Question" Visible="False" />
&nbsp;
                    <asp:Button ID="deleteButton" runat="server" Text="Delete Question" Visible="False" />
                </td>
            </tr>
            <tr>
                <td class="auto-style6" id="Table1" title="Table1">
                    <br />
                    <asp:Label ID="answerLabel" runat="server" EnableViewState="False" Text="You Can Modify or Add Answers Here" Visible="False"></asp:Label>
                    <br />
                    <br />
                    <br />
                    <asp:DropDownList ID="mainAnswerDDlist" runat="server" AutoPostBack="True" Visible="False" Width="20%">
                    </asp:DropDownList>
                    <br />
                    <br />
                    <asp:DropDownList ID="modifyAnswerList" runat="server" AutoPostBack="True" Visible="False" Width="20%">
                    </asp:DropDownList>
                    <br />
                    <br />
                    <asp:TextBox ID="answersTextBox" runat="server" Visible="False" Width="90%"></asp:TextBox>
                    <br />
                    <br />
                    <br />
                    <asp:Button ID="addAnswerButton" runat="server" Text="Add Answer" />
&nbsp;
                    <asp:Button ID="updateAnswerButton" runat="server" Text="Update Answer" Visible="False" />
&nbsp;
                    <asp:Button ID="deleteAnswerButton" runat="server" Text="Delete Answer" Visible="False" />
                    <br />
                    <br />
                    <asp:Label ID="errorLabel" runat="server"></asp:Label>
                    <br />
                    <br />
                    <asp:Button ID="homeButton" runat="server" Text="Back To User Page" PostBackUrl="~/UserPage.aspx" />
                    <br />
                    <br />
                </td>
            </tr>
            <tr>
                <td class="auto-style5" id="Table1" title="Table1">
                    <asp:HiddenField ID="correctHiddenField" runat="server" />
                    <asp:HiddenField ID="userNameHiddenField" runat="server" />
                    <asp:HiddenField ID="userIDHiddenField" runat="server" />
                </td>
            </tr>
            <tr>
                <td id="Table1" title="Table1">
                    &nbsp;</td>
            </tr>
        </table>
    </form>
</body>
</html>
